import axios from '@/api/axios'

// 预约服务类型列表
export function listApi(params) {
  return axios.get('/manage/petSubscribeType/list', { params })
}


// 创建服务类型
export function createApi(params) {
  return axios.post('/manage/petSubscribeType/add', params)
}

// 修改服务类型
export function editApi(params) {
    return axios.put('/manage/petSubscribeType/edit', params)
}

// 删除服务类型
export function deleteApi(params) {
    return axios.delete('/manage/petSubscribeType/delete/'+params)
}

// 获取服务类型详情
export function detailApi(params) {
    return axios.get('/manage/petSubscribeType/detail/'+params)
}

// 修改服务类型
export function approveApi(params) {
  return axios.put('/manage/petSubscribeType/approve', params)
}